﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using MINERP.DisjoinProForOutShop.IView;
using MINERP.BLL.DisjoinProForOutShop;
using MINERP.DisjoinProForOutShop.Presenter;

namespace MINERP.DisjoinProForOutShop
{
    public partial class FrmGetTaskList : Form, IFrmSelectInfo
    {
       
        public FrmGetTaskList(int inTechid)
        {
            InitializeComponent();
            TechID = inTechid;
            _presenter = new FrmSelectInfoPresenter(this);
        }
        int TechID=0;
        private FrmSelectInfoPresenter _presenter;
        private void FrmGetTaskList_Load(object sender, EventArgs e)
        {
            _presenter.initTask(TechID);
        }


        #region IFrmSelectInfo 成员

        int IFrmSelectInfo.CurrShopId
        {
            get;
            set;
        }

        DateTime IFrmSelectInfo.StartTime
        {
            get;
            set;
        }

        DateTime IFrmSelectInfo.EndTime
        {
            get;
            set;
        }

        int IFrmSelectInfo.CurrentGridType
        {
            get;
            set;
            
        }

        void IFrmSelectInfo.BangDingShop(List<MINERP.MODEL.FoundationModel.Shop_Info> shop)
        {
           
        }

        void IFrmSelectInfo.DisplayListOrderView(List<OrderView> list)
        {
            gridControlOrder.DataSource = list;
            gridControlOrder.RefreshDataSource();
        }

        #endregion

        private void gridControlOrder_Click(object sender, EventArgs e)
        {

        }
    }
}
